<#include "/layout/easyuilayout.ftl"/>
<@htmlHead>
	<script type="text/javascript" src="${webinfo.basePath}/MgrScript/sysmgr/authrolerigth/js/index.js"></script>
</@htmlHead>
<@htmlBody>


<div id="AuthRole_Toolbar">
    <input id="AuthRole_ss" class="easyui-searchbox" style="width:280px;"  data-options="searcher:AuthRoleSearchbox,prompt:'请输入关键字...',menu:'#AuthRole_mm'"></input>
    <div id="AuthRole_mm" style="width:120px">
        <div data-options="name:'roleName'">角色名称</div>
    </div>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-reload" plain="true" onclick="ReloadAuthRoleList()">刷新</a>
</div>
<div data-options="region:'west',title:'',split:true,border:true,iconcls:'icon-sum'"   style="width:360px;border-right: solid 2px #cecece">
    <table id="AuthRole_Grid"> </table>
</div>


<div id="AuthRoleRigth_Toolbar">
    权限类型 ： <select id="datatype_sel" class="easyui-combobox"  data-options=" editable:false,onSelect:ReloadAuthRoleRigthList"  style="width:80px;">
    <option value="M">菜单</option>
    <option value="F">功能</option>
</select>

    <input id="AuthRoleRigth_ss" class="easyui-searchbox" style="width:280px;"  data-options="searcher:AuthRoleRigthSearchbox,prompt:'请输入关键字...',menu:'#AuthRoleRigth_mm'"></input>
    <div id="AuthRoleRigth_mm" style="width:120px">
        <div data-options="name:'memo'">名称</div>
        <div data-options="name:'dataid'">编码</div>
    </div>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-reload" plain="true" onclick="ReloadAuthRoleRigthList()">刷新</a>



</div>
<div data-options="region:'center',title:'',split:true,border:false" >
    <table id="AuthRoleRigth_Grid"> </table>
</div>
<div id="AuthRoleRigth_EditForm" class="easyui-dialog" style="width:720px;height:400px;padding:0px"  closed="true"  modal="true"    buttons="#AuthRoleRigth_EditForm_buttons" >
    <form  id="AuthRoleRigth_EditForm_fm"  method="post"  >
        <div class="fitem"  >
            <label>id: </label>
            <input name="id" class="easyui-numberbox"  value="0" data-options="precision:0,required:false"     />
        </div>
        <div class="fitem"  >
            <label>角色编号: </label>
            <input name="roleid" class="easyui-numberbox" placeholder="请输入角色编号..."value="0" data-options="precision:0,required:true"     />
        </div>
        <div class="fitem"  >
            <label>数据ID: </label>
            <input name="dataid" class="easyui-validatebox" placeholder="请输入数据id..." value="" data-options="required:true"     />
        </div>
        <div class="fitem"  >
            <label>备注: </label>
            <input name="memo" class="easyui-validatebox" placeholder="请输入备注..." value="" data-options="required:false"     />
        </div>
        <div class="fitem"  >
            <label>M:菜单，F：功能。D：数据，R:角色: </label>
            <input type="radio" name="datatype" value="1" checked="checked" /><span>是</span>
            <input type="radio" name="datatype" value="0"  /><span>否</span>
        </div>
        <div class="fitem"  >
            <label>state: </label>
            <input type="radio" name="state" value="1" checked="checked" /><span>是</span>
            <input type="radio" name="state" value="0"  /><span>否</span>
        </div>
    </form>
</div>
<div id="AuthRoleRigth_EditForm_buttons">
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="SaveAuthRoleRigth()">保存</a>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#AuthRoleRigth_EditForm').dialog('close')">取消</a>
</div>
</@htmlBody>



